import Cart from '../components/Cart/Cart.vue';
import GoodList from '../components/GoodList/GoodList.vue';
import Address from '../components/Address/Address.vue';
import addressConfirm from '../components/AddressConfirm/AddressConfirm.vue';
import Finish from '../components/Finish/Finish.vue';
const routes = [
    {
        path:'/cart',
        component:Cart
    },
    {
        path:'/goodlist',
        component:GoodList
    },
    {
        path:'/address',
        component:Address
    },
    {
        path:'/addressConfirm',
        component:addressConfirm
    },
    {
        path:'/finish/:orderId',
        component:Finish
    },
    {
        path:'**',
        redirect: '/goodlist'
    }
    
]

export default routes;